package com.token.iot.bratterycharging.gateway;

import java.util.Map;

import com.outstanding.framework.core.PendingException;

import io.netty.util.AttributeKey;


public abstract class AbstractSender implements Sender {
	static public final AttributeKey<Long> attributeTIME = AttributeKey.valueOf("TIME");

	public abstract Object send(String imei, Map<String, String> params) throws PendingException;

	public String getCode() {
		return this.code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}

	protected String code;

}
